package com.xunge.pojo;

import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class Grade {
    private Integer id; //ID,主键
    private Integer studentId; //学生ID
    private Integer courseId; //课程ID
    private Integer clazzId; //班级ID
    private BigDecimal score; //成绩
    private Integer gradeType; //成绩类型, 1:平时成绩, 2:期中成绩, 3:期末成绩, 4:总评成绩
    private String semester; //学期
    private String remark; //备注
    private LocalDateTime createTime; //创建时间
    private LocalDateTime updateTime; //修改时间
    
    //关联信息
    private String studentName; //学生姓名
    private String courseName; //课程名称
    private String clazzName; //班级名称
} 